# XML template string for insert/modify data in google base
# we choose Notes schema for store data
# Payload is stored in <content/> node
# <tag/> = PyPersistence for identify this from normal item
# <title/> node could be queried as index
# <filename/> is optional

TEMP_NOTES = '''<?xml version='1.0' encoding='UTF-8'?>
<entry xmlns='http://www.w3.org/2005/Atom'
  xmlns:g='http://base.google.com/ns/1.0'>
<category scheme='http://base.google.com/categories/itemtypes' term='Notes'>
</category>
<title type='text'><![CDATA[%s]]></title>
<content type='text'><![CDATA[%s]]></content>
<author>
<name>OUAT</name>
</author>
<g:item_type type='text'>Notes</g:item_type>
<g:item_language type='text'>en</g:item_language>
<g:target_country type='text'>US</g:target_country>
<g:tag type='text'>PyPersistence</g:tag>
<g:subject type='text'>pytest</g:subject>
<g:filename type='text'><![CDATA[%s]]></g:filename>
<g:expiration_date type='dateTime'>2038-01-19T03:14:07.000Z</g:expiration_date>
</entry>
'''
